package com.github.slprj.slake.net;

/**
 * @author YangXiaoLong
 * 2022/9/17 17:40
 */
public class ThreadUtils {
    public static void restoreInterruptStatus() {
        if (!Thread.currentThread().isInterrupted()) {
            Thread.currentThread().interrupt();
        }
    }
}
